﻿using Sunny.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WebAssistant.Common;

namespace Assistant
{
    public partial class FormDownloadTip : UIForm
    {

        private static string downloadUrl = string.Empty;

        public FormDownloadTip()
        {
            InitializeComponent();
        }
        
        public FormDownloadTip(string url)
        {
            InitializeComponent();
            downloadUrl = url;
        }



        private void LinkLabelDownload_Click(object sender, EventArgs e)
        {
            //System.Diagnostics.Process.Start("explorer", downloadUrl);
            FileHelper.OpenUrl(downloadUrl);
        }
    }
}
